//
//  CategoryFunctionView.m
//  ShanMei
//
//  Created by huazi on 15/3/18.
//  Copyright (c) 2015年 huazi. All rights reserved.
//

#import "CategoryFunctionView.h"

@implementation CategoryFunctionView

- (void)setsubviews
{
    UIImageView *imageview =[[UIImageView alloc] initWithFrame:CGRectMake((kScaleDeviceLength(80)-43)/2, 15, 43, 43)];
//    [imageview sd_setImageWithURL:[NSURL URLWithString:self.imageUrl] placeholderImage:kplaceholderImage];
    [imageview setImage:[UIImage imageNamed:self.imageUrl]];
    [self addSubview:imageview];
    UILabel *label =[[UILabel alloc] initWithFrame:CGRectMake(kScaleDeviceLength(0), 70, kScaleDeviceLength(80.0), 20.0)];
    label.text =self.strLabelName;
    label.font =themeFont13;
    label.textAlignment =NSTextAlignmentCenter;
    [self addSubview:label];
}

@end
